﻿using YDT_UserService.Domain.Enums;

namespace YDT_UserService.Applictions.DTOs
{
    /// <summary>
    /// 用户查询数据传输对象 - 用于查询条件
    /// </summary>
    public class UserQueryDto
    {
        /// <summary>页码</summary>
        public int PageIndex { get; set; } = 1;
        /// <summary>每页大小</summary>
        public int PageSize { get; set; } = 10;
        /// <summary>用户状态</summary>
        public UserStatus? Status { get; set; }
        /// <summary>搜索关键词</summary>
        public string? SearchTerm { get; set; }
    }
}
